package com.ruoyi.project.dctmanage.service.impl;

import com.ruoyi.project.dctmanage.domain.DctDoctor;
import com.ruoyi.project.dctmanage.domain.DctScheduling;
import com.ruoyi.project.dctmanage.mapper.DctSchedulingMapper;
import com.ruoyi.project.dctmanage.service.DctSchedulingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : author
 * @dath : 20:09  2021/7/15
 */
@Service
public class DctSchedulingServiceImpl implements DctSchedulingService {
  //查询排班
    @Autowired
    private DctSchedulingMapper dctDctSchedulingMapper;
    @Override
    public List<DctScheduling> selectList(DctDoctor doctor) {
       List<DctScheduling> list=dctDctSchedulingMapper.selectList(doctor);
        return list;
    }

    @Override
    public List<DctDoctor> getAll() {
        return dctDctSchedulingMapper.selectAll();
    }
}
